<div class="bjui-pageContent">
<form action="{:U('Forms/save_comment')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
    <input type="hidden" name="id" value="{$va.id}"/>
    <div class="media">
        <a class="pull-left pd10" href="javascript:void(0))">
            <img src="{$va.user.head_img}" width="50" alt="">
        </a>
        <div class="media-body">
            <p class="clearfix"><span class="pull-right">{$va.time}</span>{$va.user.mobile}</p>
            <div class="media-border">
                 {$va.contents}
                <!-- <div>
                    <a href="__PUBLIC__/images/1584936.jpg" target="_blank"><img src="__PUBLIC__/images/1584936.jpg" alt="华为" width="90" /></a>
                    <a href="__PUBLIC__/images/14393692.jpg" target="_blank"><img src="__PUBLIC__/images/14393692.jpg" alt="海尔" width="90" /></a>
                </div> -->
            </div>
            <if condition="$va.replay neq null">
            <div class="media">
                <a class="pull-left pd10" href="#">
                    <img src="__PUBLIC__/images/admin.jpg" width="50" alt="admin">
                </a>
                <div class="media-body">
                    <p><span class="pull-right">{$va.repaly.time}</span>{$va.replay.adminname}</p>
                                                   {$va.replay.contents}
                </div>
            </div>
            </if>
        </div>
    </div>
    <if condition="$va.replay eq null">
	    <div class="form-group" style="margin-top: 10px;">
	        <textarea name="contents" style="width: 100%;height: 70px"></textarea>
	    </div>
    </if>
 </form>
</div>
<script>
    $(function () {
        $('.reply-comment').click(function () {
            alert('回复成功');
        });
    });
</script>
<include file="Common/footer" ftype="save"/>
 